package com.recordhistory.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;

/**
 * @author ：LX
 * 创建时间： 2019/4/17. 17:50
 * 地点：广州
 * 目的: 事件
 * 备注说明：
 */
@TableName("eventOccur")
public class EventOccur {

    @TableId
    private String id;
    private String historyId; //历史主表主键

    /**
     * 发生事件提供4种时间来框定时间
     * 1 按照月份   2 按照春夏秋冬  3 按照日期  4 没有指定任何时间，在这一年发生的事情
     * 对此，展示的时候将 1-3种情况还是混在一起展示，单独的列出来
     */
    private Integer month; //发生的月份  枚举，MonthEnum
    private Integer dateOccur; //发生日，月份中的哪一天
    private String seasons; //季节  SeasonEnum 枚举

    private String place; //事件发生地点，可以后续进行历史图册定位，关键字
    private String abroadOrHome; // 1 国内  2 国外  Constant
    private String type; //事件类型，可以将事件归类，后期，关键字
    private String important; // 1 普通事件  2 重大事件  Constant

    private String content; //发生的事件

    private Timestamp createDate; //创建时间
    private Timestamp updateDate; //更新时间





    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHistoryId() {
        return historyId;
    }

    public void setHistoryId(String historyId) {
        this.historyId = historyId;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getDateOccur() {
        return dateOccur;
    }

    public void setDateOccur(Integer dateOccur) {
        this.dateOccur = dateOccur;
    }

    public String getSeasons() {
        return seasons;
    }

    public void setSeasons(String seasons) {
        this.seasons = seasons;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getAbroadOrHome() {
        return abroadOrHome;
    }

    public void setAbroadOrHome(String abroadOrHome) {
        this.abroadOrHome = abroadOrHome;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImportant() {
        return important;
    }

    public void setImportant(String important) {
        this.important = important;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public Timestamp getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Timestamp updateDate) {
        this.updateDate = updateDate;
    }
}
